package com.horay.springclouddemo.stream.multiple.consumer.message;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

/**
 * 消息接收器
 *
 * @author heyingcheng
 * @date 2020/3/29 15:35
 */
@Component
public interface MessageSink {

    String LOG_INPUT = "log_input";

    @Input(LOG_INPUT)
    SubscribableChannel logInput();

}
